#pragma once

#include <QWidget>
#include "ui_Pacs_Right_Widget.h"
#include "Pacs_Rigtht_ShowVideoWidget.h"
#include "Pacs_ShowPicWidget.h"

class Pacs_Right_Widget : public QWidget
{
	Q_OBJECT
public:
	Pacs_Right_Widget(QWidget *parent = Q_NULLPTR);
	~Pacs_Right_Widget();

	//	
private:
	Ui::Pacs_Right_Widget ui;
	QList<Pacs_ShowPicWidget*> m_allPicList;
	QList<Pacs_ShowPicWidget*> m_selectPicList;
	QList<Pacs_Rigtht_ShowVideoWidget*> m_allVideoList;
	//Pacs_ShowPicWidget *newPic;
	QLabel *m_lblShowPicCount;
	int  m_imageCount = 0;
	
public slots:
	void picIsSelect(bool,int);
	void createNewImage(const QImage& image,const QString& filePath);
	void createNewVideo(const QString&);

};
